Matthias Clasen [Tue, 17 Feb 2009 22:28:29 +0000 (22:28 +0000)]
Bump version
svn path=/trunk/; revision=22352
Matthias Clasen [Tue, 17 Feb 2009 22:25:41 +0000 (22:25 +0000)]
2.15.4
svn path=/trunk/; revision=22350
Andre Klapper [Tue, 17 Feb 2009 18:57:05 +0000 (18:57 +0000)]
Fix deprecated glib call.
2009-02-17 Andre Klapper <
a9016009@gmx.de>
* demos/gtk-demo/main.c:
Fix deprecated glib call.
svn path=/trunk/; revision=22349
Li Yuan [Tue, 17 Feb 2009 07:04:07 +0000 (07:04 +0000)]
Bug #561631. Use g_queue_get_length to determine if a queue is empty.
2009-02-17 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (idle_do_action):
Bug #561631. Use g_queue_get_length to determine if a queue is empty.
svn path=/trunk/; revision=22348
Matthias Clasen [Tue, 17 Feb 2009 06:29:21 +0000 (06:29 +0000)]
Require GLib 2.19.7 for GMountOperation::aborted.
* configure.in: Require GLib 2.19.7 for GMountOperation::aborted.
* gtk/gtkmountoperation.c: Implement GMountOperation::aborted.
svn path=/trunk/; revision=22347
Matthias Clasen [Tue, 17 Feb 2009 06:13:21 +0000 (06:13 +0000)]
Updates
svn path=/trunk/; revision=22346
Matthias Clasen [Tue, 17 Feb 2009 05:49:17 +0000 (05:49 +0000)]
Set the object name to the page title. Proposed by Eitan Isaacson
* gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set
the object name to the page title. Proposed by Eitan Isaacson
svn path=/trunk/; revision=22345
Matthias Clasen [Tue, 17 Feb 2009 05:36:12 +0000 (05:36 +0000)]
Set focus when the current page changes. Pointed out by Eitan Isaacson
* gtk/gtkassistant.c (set_current_page): Set focus when the current
page changes. Pointed out by Eitan Isaacson
svn path=/trunk/; revision=22344
Changwoo Ryu [Tue, 17 Feb 2009 03:58:17 +0000 (03:58 +0000)]
Updated Korean translation
svn path=/trunk/; revision=22343
Tomasz Dominikowski [Mon, 16 Feb 2009 23:30:23 +0000 (23:30 +0000)]
Updated Polish translation
2009-02-17 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation
svn path=/trunk/; revision=22342
Sven Neumann [Mon, 16 Feb 2009 20:58:16 +0000 (20:58 +0000)]
gdk/gdk.symbols implement gdk_keymap_get_caps_lock_state(). No
2009-02-16 Sven Neumann <sven@gimp.org>
* gdk/gdk.symbols
* gdk/directfb/gdkkeys-directfb.c: implement
gdk_keymap_get_caps_lock_state(). No "state-changed" signal yet.
svn path=/trunk/; revision=22341
Ilkka Tuohela [Mon, 16 Feb 2009 18:05:03 +0000 (18:05 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=22340
Ilkka Tuohela [Mon, 16 Feb 2009 17:59:18 +0000 (17:59 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=22339
Marcel Telka [Mon, 16 Feb 2009 06:20:40 +0000 (06:20 +0000)]
Updated Slovak translation by Pavol Šimo.
2009-02-16 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation by Pavol Šimo.
svn path=/trunk/; revision=22338
Tor Lillqvist [Sun, 15 Feb 2009 22:51:56 +0000 (22:51 +0000)]
Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c
2009-02-16 Tor Lillqvist <tml@novell.com>
Bug 571873 - Compile error with gdk/win32/gdkselection-win32.c
* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Cast
gpointer to char * before pointer arithmetic to avoid compilation
error with MSVC.
(_gdk_selection_property_delete): Remove unused variable.
svn path=/trunk/; revision=22337
Duarte Loreto [Sat, 14 Feb 2009 22:45:30 +0000 (22:45 +0000)]
Updated Portuguese translation.
2009-02-14 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
svn path=/trunk/; revision=22335
Duarte Loreto [Sat, 14 Feb 2009 22:27:57 +0000 (22:27 +0000)]
Updated Portuguese translation.
2009-02-14 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
svn path=/trunk/; revision=22334
Claude Paroz [Sat, 14 Feb 2009 14:24:49 +0000 (14:24 +0000)]
Updated French translation by Laurent Coudeur and Claude Paroz.
2009-02-14 Claude Paroz <claude@2xlibre.net>
* fr.po: Updated French translation by Laurent Coudeur and Claude Paroz.
svn path=/trunk/; revision=22333
Tomasz Dominikowski [Sat, 14 Feb 2009 14:23:13 +0000 (14:23 +0000)]
Updated Polish translation
2009-02-14 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation
svn path=/trunk/; revision=22332
Kenneth Nielsen [Sat, 14 Feb 2009 03:12:19 +0000 (03:12 +0000)]
Updated Danish translation
svn path=/trunk/; revision=22331
Ihar Hrachyshka [Sat, 14 Feb 2009 01:17:58 +0000 (01:17 +0000)]
Updated be@latin.po
svn path=/trunk/; revision=22330
Matthias Clasen [Fri, 13 Feb 2009 22:15:23 +0000 (22:15 +0000)]
Register randr events
svn path=/trunk/; revision=22328
Matthias Clasen [Fri, 13 Feb 2009 18:12:57 +0000 (18:12 +0000)]
Check for Xrandr 1.3
* configure.in: Check for Xrandr 1.3
* gdk/x11/gdkdisplay-x11.[ch]: Rename have_randr12 to have_randr13
and set if if we have randr 1.3
* gdk/x11/gdkscreen-x11.c: Go back to using randr for monitor
information, if we have XRRGetScreenResourcesCurrent.
svn path=/trunk/; revision=22327
Gil Forcada Codinachs [Fri, 13 Feb 2009 13:57:19 +0000 (13:57 +0000)]
Updated Catalan translation by David Planella
svn path=/trunk/; revision=22326
Laurent Dhima [Fri, 13 Feb 2009 12:02:24 +0000 (12:02 +0000)]
Updated Albanian translation.
svn path=/trunk/; revision=22325
Raivis Dejus [Fri, 13 Feb 2009 08:15:43 +0000 (08:15 +0000)]
Translation updated.
2009-02-13 Raivis Dejus <orvils@gmail.com>
* lv.po: Translation updated.
svn path=/trunk/; revision=22324
Cody Russell [Fri, 13 Feb 2009 01:25:36 +0000 (01:25 +0000)]
Bug 571576 – gdk_pixbuf_save_to_stream() broken
2009-02-12 Cody Russell <bratsche@gnome.org>
Bug 571576 – gdk_pixbuf_save_to_stream() broken
* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
it does not always return FALSE (even when it succeeds), and also so
that it does not set error to NULL when something goes wrong.
svn path=/trunk/; revision=22322
Gabor Keleman [Fri, 13 Feb 2009 00:32:36 +0000 (00:32 +0000)]
Small update
svn path=/trunk/; revision=22321
Gabor Kelemen [Thu, 12 Feb 2009 22:08:33 +0000 (22:08 +0000)]
Translation updated.
2009-02-12 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=22320
Marek Kasik [Thu, 12 Feb 2009 12:12:30 +0000 (12:12 +0000)]
Bug 568571 – Asian am/pm format on cups print backend's time parsing
2009-02-12 Marek Kasik <mkasik@redhat.com>
Bug 568571 – Asian am/pm format on cups print backend's time parsing
* modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
format into formats recognized by CUPS backend
svn path=/trunk/; revision=22319
Theppitak Karoonboonyanan [Thu, 12 Feb 2009 07:44:50 +0000 (07:44 +0000)]
Updated Thai translation.
2009-02-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=22318
Jonh Wendell [Wed, 11 Feb 2009 20:10:39 +0000 (20:10 +0000)]
Updated Brazilian Portuguese translation.
2009-02-11 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Updated Brazilian Portuguese translation.
svn path=/trunk/; revision=22317
Matthias Clasen [Wed, 11 Feb 2009 18:53:24 +0000 (18:53 +0000)]
Bug 570824 – [a11y] TreeView is not keyboard (re)focusable after
selecting a cell in a non-sortable column
* gtk/gtktreeview.c (gtk_tree_view_header_focus): Don't grab
focus to a header button if it is not focusable. Problem reported
by Joanmarie Diggs
svn path=/trunk/; revision=22316
Matthias Clasen [Wed, 11 Feb 2009 16:31:47 +0000 (16:31 +0000)]
Move the _GtkVolumeButton definition into the header to make it possible
* gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
into the header to make it possible to derive from GtkVoumeButton.
Reported by Chris Lord.
svn path=/trunk/; revision=22315
Matthias Clasen [Wed, 11 Feb 2009 15:52:37 +0000 (15:52 +0000)]
Undeprecate gtk_binding_entry_add_signall
svn path=/trunk/; revision=22314
Jonh Wendell [Wed, 11 Feb 2009 15:20:08 +0000 (15:20 +0000)]
Updated Brazilian Portuguese translation.
2009-02-11 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Updated Brazilian Portuguese translation.
svn path=/trunk/; revision=22313
Daniel Nylander [Wed, 11 Feb 2009 14:18:46 +0000 (14:18 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=22312
Goran Rakic [Wed, 11 Feb 2009 13:08:03 +0000 (13:08 +0000)]
Updated Serbian translation wrt bug #423295
svn path=/trunk/; revision=22311
Inaki Larranaga Murgoitio [Wed, 11 Feb 2009 11:02:53 +0000 (11:02 +0000)]
Updated Basque translation.
2009-02-11 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=22310
Inaki Larranaga Murgoitio [Wed, 11 Feb 2009 10:10:08 +0000 (10:10 +0000)]
Updated Basque translation.
2009-02-11 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=22309
Matthias Clasen [Wed, 11 Feb 2009 07:25:57 +0000 (07:25 +0000)]
Fix rendering of icons in some cases
svn path=/trunk/; revision=22308
Matthias Clasen [Wed, 11 Feb 2009 06:52:43 +0000 (06:52 +0000)]
Fix emission of file-set signal
svn path=/trunk/; revision=22307
Matthias Clasen [Wed, 11 Feb 2009 06:29:24 +0000 (06:29 +0000)]
Remove GTK_SIGNAL_ACTION from the file-set signal, that wasn't supposed to
* gtk/gtkfilechooserbutton.c: Remove GTK_SIGNAL_ACTION
from the file-set signal, that wasn't supposed to have it.
svn path=/trunk/; revision=22306
Jorge Gonzalez Gonzalez [Tue, 10 Feb 2009 20:06:57 +0000 (20:06 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=22305
Takao Fujiwara [Tue, 10 Feb 2009 17:32:47 +0000 (17:32 +0000)]
Bug 571015 libprintbackend-cups has unlocalized strings
2009-02-10 Takao Fujiwara <takao.fujiwara@sun.com>
Bug 571015 libprintbackend-cups has unlocalized strings
* modules/printbackends/cups/gtkprintbackendcups.c:
Added a translator comment with the request of translators.
svn path=/trunk/; revision=22304
Alexander Shopov [Tue, 10 Feb 2009 17:30:52 +0000 (17:30 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-02-10 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=22303
Gil Forcada Codinachs [Tue, 10 Feb 2009 15:57:21 +0000 (15:57 +0000)]
Updated Catalan translation by David Planella
svn path=/trunk/; revision=22302
Claude Paroz [Tue, 10 Feb 2009 08:37:59 +0000 (08:37 +0000)]
Updated Crimean Tatar translation on behalf of Reşat SABIQ.
2009-02-10 Claude Paroz <claude@2xlibre.net>
* crh.po: Updated Crimean Tatar translation on behalf of Reşat SABIQ.
svn path=/trunk/; revision=22301
Kjartan Maraas [Tue, 10 Feb 2009 06:24:54 +0000 (06:24 +0000)]
Updated Norwegian bokmål translation.
2009-02-10 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=22300
Gil Forcada Codinachs [Tue, 10 Feb 2009 00:02:43 +0000 (00:02 +0000)]
Updated Catalan translation by David Planella
svn path=/trunk/; revision=22299
Richard Hughes [Mon, 9 Feb 2009 14:53:29 +0000 (14:53 +0000)]
Fix the enumerated name in the migration document.
2009-02-09 Richard Hughes <richard@hughsie.com>
* docs/reference/gtk/migrating-GtkEntry-icons.sgml:
Fix the enumerated name in the migration document.
svn path=/trunk/; revision=22298
Cody Russell [Mon, 9 Feb 2009 13:16:14 +0000 (13:16 +0000)]
Add potentially missing #defines for XBUTTON1, etc. Fixes the build that
2009-02-09 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwin32.h: Add potentially missing #defines for
XBUTTON1, etc. Fixes the build that was broken in r21746.
svn path=/trunk/; revision=22297
Clytie Siddall [Mon, 9 Feb 2009 13:14:25 +0000 (13:14 +0000)]
Updated Vietnamese translation
svn path=/trunk/; revision=22296
Clytie Siddall [Mon, 9 Feb 2009 08:21:24 +0000 (08:21 +0000)]
Updated Vietnamese translation
svn path=/trunk/; revision=22295
Takao Fujiwara [Mon, 9 Feb 2009 05:39:37 +0000 (05:39 +0000)]
Bug 571015 libprintbackend-cups has unlocalized strings
2009-02-09 Takao Fujiwara <takao.fujiwara@sun.com>
Bug 571015 libprintbackend-cups has unlocalized strings
Reviewed by Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c (handle_option):
Add translatable strings from ppd files.
svn path=/trunk/; revision=22294
Takeshi AIHANA [Sat, 7 Feb 2009 11:57:23 +0000 (11:57 +0000)]
Updated Japanese translation.
2009-02-07 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=22293
Takeshi AIHANA [Sat, 7 Feb 2009 11:56:09 +0000 (11:56 +0000)]
Updated Japanese translation.
2009-02-07 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=22292
Matthias Clasen [Sat, 7 Feb 2009 03:17:43 +0000 (03:17 +0000)]
Make the new GtkAction code work with PolicyKit-gnome's use of actions.
* gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
the action.
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
* gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
Work with non-toggle actions without complaining.
* gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
the icon-name should not remove the label.
* gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
update the image when the icon name is set to NULL.
svn path=/trunk/; revision=22290
Matthew Barnes [Fri, 6 Feb 2009 15:49:26 +0000 (15:49 +0000)]
Accept a NULL string.
2009-02-06 Matthew Barnes <mbarnes@redhat.com>
* gtk/gtklabel.c (gtk_label_set_label): Accept a NULL string.
svn path=/trunk/; revision=22289
Gabor Kelemen [Fri, 6 Feb 2009 13:14:44 +0000 (13:14 +0000)]
Translation updated.
2009-02-06 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=22288
Stefan Kost [Fri, 6 Feb 2009 08:16:22 +0000 (08:16 +0000)]
Add online urls for library.gnome.org. This allows other docs to do
* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk/gdk-docs.sgml:
* gtk/gtk-docs.sgml:
* libgail-util/gail-libgail-util-docs.sgml:
Add online urls for library.gnome.org. This allows other docs to do
gtkdoc-rebase --online --html-dir=html
before publishing docs and have working xrefs.
Whitespece cleanup for gdk/gdk-docs.sgml.
svn path=/trunk/; revision=22287
Gabor Kelemen [Thu, 5 Feb 2009 18:59:31 +0000 (18:59 +0000)]
Translation updated.
2009-02-05 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=22286
Kenneth Nielsen [Thu, 5 Feb 2009 00:50:36 +0000 (00:50 +0000)]
Updated Danish translation
svn path=/trunk/; revision=22285
Tomasz Dominikowski [Wed, 4 Feb 2009 16:48:02 +0000 (16:48 +0000)]
Updated Polish translation
2009-02-04 Tomasz Dominikowski <tdominikowski@aviary.pl>
* pl.po: Updated Polish translation
svn path=/trunk/; revision=22284
Sweta Kothari [Wed, 4 Feb 2009 16:47:46 +0000 (16:47 +0000)]
Committed Gujarati Translation.
2009-02-04 Sweta Kothari <swkothar@redhat.com>
* gu.po: Committed Gujarati Translation.
svn path=/trunk/; revision=22283
Sweta Kothari [Wed, 4 Feb 2009 09:27:30 +0000 (09:27 +0000)]
Updated translation in gujarati
svn path=/trunk/; revision=22282
Sweta Kothari [Wed, 4 Feb 2009 08:29:44 +0000 (08:29 +0000)]
Committed Translation by Sweta Kothari
svn path=/trunk/; revision=22281
Tor Lillqvist [Wed, 4 Feb 2009 08:20:11 +0000 (08:20 +0000)]
Bug 570406 - gailutil.def is in srcdir, but used from builddir
2009-02-04 Tor Lillqvist <tml@novell.com>
Bug 570406 - gailutil.def is in srcdir, but used from builddir
* libgail-util/Makefile.am: Use gailutil.def from srcdir. Drop
useless rules to install/uninstall import libraries, libtool knows
to install / uninstall them itself when installing / uninstalling
a .la file. Add rules to install / uninstall the def file like for
consistency, like with the other libraries in GTK+.
svn path=/trunk/; revision=22280
Sweta Kothari [Wed, 4 Feb 2009 06:10:38 +0000 (06:10 +0000)]
Committed Translation by Sweta Kothari
svn path=/trunk/; revision=22278
Matthias Clasen [Wed, 4 Feb 2009 01:16:35 +0000 (01:16 +0000)]
Set the root coordinates in the event correctly. Patch by Kristian
* gtk/gtktooltip.c (gtk_tooltip_trigger_query): Set the root
coordinates in the event correctly. Patch by Kristian Rietveld.
svn path=/trunk/; revision=22277
Sweta Kothari [Tue, 3 Feb 2009 12:30:15 +0000 (12:30 +0000)]
Committed Translation by Sweta Kothari
svn path=/trunk/; revision=22276
Matthias Clasen [Tue, 3 Feb 2009 01:58:28 +0000 (01:58 +0000)]
bump version
svn path=/trunk/; revision=22275
Matthias Clasen [Tue, 3 Feb 2009 01:55:28 +0000 (01:55 +0000)]
2.15.3
svn path=/trunk/; revision=22273
Daniel Nylander [Mon, 2 Feb 2009 21:12:42 +0000 (21:12 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=22272
Alexander Shopov [Sun, 1 Feb 2009 12:23:16 +0000 (12:23 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2009-02-01 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=22271
Behdad Esfahbod [Sun, 1 Feb 2009 06:04:12 +0000 (06:04 +0000)]
Change the "gtk-fontconfig-timestamp" property from int to uint. Doesn't
2009-02-01 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtksettings.c (gtk_settings_class_init): Change the
"gtk-fontconfig-timestamp" property from int to uint. Doesn't affect
anything in practice, except that it overflows years later...
svn path=/trunk/; revision=22270
Behdad Esfahbod [Sun, 1 Feb 2009 05:26:54 +0000 (05:26 +0000)]
Bug 569635 – fontchooser should reload list of families/styles on theme
2009-02-01 Behdad Esfahbod <behdad@gnome.org>
Bug 569635 – fontchooser should reload list of families/styles on
theme change
* gtk/gtkfontsel.c (gtk_font_selection_class_init),
(gtk_font_selection_init), (gtk_font_selection_finalize),
(gtk_font_selection_ref_family), (gtk_font_selection_ref_face),
(gtk_font_selection_reload_fonts),
(gtk_font_selection_screen_changed),
(gtk_font_selection_style_set),
(gtk_font_selection_scroll_to_selection),
(gtk_font_selection_scroll_on_map),
(gtk_font_selection_select_font),
(gtk_font_selection_show_available_fonts),
(gtk_font_selection_show_available_styles),
(gtk_font_selection_select_style),
(gtk_font_selection_select_font_desc),
(gtk_font_selection_set_font_name):
Reload Pango families and faces in style_set. Installing/uninstalling
fonts shows up immediately in an open font chooser now.
svn path=/trunk/; revision=22269
Matthias Clasen [Sat, 31 Jan 2009 21:56:02 +0000 (21:56 +0000)]
Updates
svn path=/trunk/; revision=22267
Matthias Clasen [Sat, 31 Jan 2009 20:32:06 +0000 (20:32 +0000)]
Bug 162726 – Multiple Latin layouts in XKB break keyboard shortcuts
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Change the handling of
fuzzy matches: As long there are any exact matches, only exact
matches are returned. If there are no exact matches, fuzzy matches
will be returned, as long as they are not shadowing a possible exact
match. This means that fuzzy matches won't be considered if their
keyval is present in the current group. Problem reported by
many people, patch by Simos Xenitellis.
svn path=/trunk/; revision=22266
Matthias Clasen [Sat, 31 Jan 2009 19:58:32 +0000 (19:58 +0000)]
Updates
svn path=/trunk/; revision=22265
Fridrich Strba [Sat, 31 Jan 2009 11:41:12 +0000 (11:41 +0000)]
allow static jasper gdk-pixbuf loader
svn path=/trunk/; revision=22264
Chao-Hsiung Liao [Sat, 31 Jan 2009 06:23:13 +0000 (06:23 +0000)]
2.15.3
svn path=/trunk/; revision=22263
Matthias Clasen [Sat, 31 Jan 2009 05:52:58 +0000 (05:52 +0000)]
Be more careful with the beeps
svn path=/trunk/; revision=22262
Matthias Clasen [Sat, 31 Jan 2009 02:28:40 +0000 (02:28 +0000)]
Avoid a compiler warning. Patch by Magnus Boman.
* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_use_action_appearance):
Avoid a compiler warning. Patch by Magnus Boman.
svn path=/trunk/; revision=22261
Matthias Clasen [Sat, 31 Jan 2009 02:21:27 +0000 (02:21 +0000)]
Make sure we queue at least one resize. This fixes a problem with
* gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
at least one resize. This fixes a problem with toolitems remaining
invisible when they shouldn't that was reported by Christian Weiske.
svn path=/trunk/; revision=22260
Matthias Clasen [Sat, 31 Jan 2009 02:17:00 +0000 (02:17 +0000)]
Always show images.
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
Always show images.
svn path=/trunk/; revision=22259
Jonh Wendell [Fri, 30 Jan 2009 14:56:51 +0000 (14:56 +0000)]
Updated Brazilian Portuguese translation.
2009-01-30 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Updated Brazilian Portuguese translation.
svn path=/trunk/; revision=22258
Jonh Wendell [Fri, 30 Jan 2009 14:45:49 +0000 (14:45 +0000)]
Updated Brazilian Portuguese translation by Leonardo Fontenelle.
2009-01-30 Jonh Wendell <jwendell@gnome.org>
* pt_BR.po: Updated Brazilian Portuguese translation by Leonardo Fontenelle.
svn path=/trunk/; revision=22257
Theppitak Karoonboonyanan [Fri, 30 Jan 2009 05:53:58 +0000 (05:53 +0000)]
Updated Thai translation.
2009-01-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=22256
Tor Lillqvist [Fri, 30 Jan 2009 01:16:47 +0000 (01:16 +0000)]
Bug 559408 - Transparency lost when images are copied between GTK+ and the
2009-01-29 Tor Lillqvist <tml@novell.com>
Bug 559408 - Transparency lost when images are copied between GTK+
and the clipboard on Windows
The code in gdkselection-win32.c is simplified quite a lot. When
an image is stored on the clipboard from GTK+, only the "PNG" and
CF_DIB formats are advertised. PNG is our preferred format because
it can losslessly represent any image that gdk-pixbuf can handle,
even with alpha, unambiguously. CF_DIB is also advertised because
of its ubiquitous support in Windows software.
Delayed rendering is used as before, so for other data than text
nothing is actually stored on the clipboard until some app asks
for it.
It's pointless to advertise images formats like "image/png" or
"image/x-MS-bmp" that no other Windows application is going to
look for anyway. Likewise it's pointless to store text under
formats like "text/plain" or "UTF8_STRING". Just store
CF_UNICODETEXT. CF_TEXT will be available as a synthesized format
anyways.
Office 2007 offers and asks for images in PNG format using the
registered clipboard format name "PNG", so we do likewise. If the
"PNG" format is available that is preferred when copying to GTK+
from the clipboard.
Unfortunately Word 2007 still uses CF_DIB without handling
alpha. But PowerPoint 2007 uses PNG if available and handles alpha
correctly. Both Word and Powerpoint offer PNG with alpha nicely.
Firefox and IE7 offer images that contain alpha as 32-bit version
3 BI_RGB DIBs with the undocumented "extra" bytes actually being
alpha. Also, alpha is premultiplied into the RGB bytes, presumably
because that is how AlphaBlend() wants such DIBs. That is also
taken care of. At least for Firefox it easy to be sure that a
CF_DIB on the clipboard is from Firefox.
Also some general stylistic cleanup, comment improvements, and
improvements of debugging printout especially in the clipboard
handling. Those are not detailled below.
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkgmain-win32.c: Move some globals that were used
only in gdkselection-win32.c to be local to that file.
* gdk/win32/gdkproperty-win32.c (gdk_property_change): Don't
bother checking if text to be placed on the clipboard consists of
only ASCII.
* gdk/win32/gdkselection-win32.c: Add static variables for a list
of GdkPixbuf-supported formats, well-known registered clipboard
formats for images, and for GdkAtoms for well-known image and text
formats.
(_gdk_win32_selection_init): Initialize above static variables.
(selection_property_store) (gdk_selection_property_get)
(_gdk_selection_property_delete): Don't use a FIFO of GdkSelProps
for a window after all, it breaks testtext. See bug #163844.
(gdk_selection_convert): When converting to the TARGETS format,
i.e. when the caller wants to know what clipboard formats are
available, if PNG is available we report just that and skip
CF_DIB, JPEG and GIF even if advertised.
If CF_UNICODETEXT is available, report only UTF8_STRING.
When converting to the UTF8_STRING format, i.e. when the caller
wants text from the clipboard, try just CF_UNICODETEXT. There is
no point in trying CF_TEXT as Windows will synthesize
CF_UNICODETEXT from CF_TEXT anyway, if some app has stored just
CF_TEXT.
When converting to the image/bmp format, i.e. when the caller
wants an CF_DIB image from the clipboard, we check if the DIB is a
version 3 32-bit BI_RGB one that is likely to actually contain
alpha in the "extra" bytes. Such a DIB is likely to have
premultiplied alpha even, at least in the case of Firefox 3 and
IE7. We then edit the DIB in-place into a version 5 one in
BI_BITFIELDS format and undo the alpha premultiplication.
In any case, prepend a BMP file header before letting go of the
data which will be fed to the gdk-pixbuf bmp loader by upper
levels.
(gdk_win32_selection_add_targets): If some kind of pixmap image
format is being added, actually advertise just PNG and
CF_DIB. Note that alpha won't be stored on the clipboard through
CF_DIB. This is because gdk-pixbuf's bmp loader doesn't save
alpha. Furthermore, few if any non-GTK+ Windows apps seem to
understand a version 5 DIB with proper alpha anyway.
(_gdk_win32_selection_convert_to_dib): Simplified muchly.
svn path=/trunk/; revision=22255
Tor Lillqvist [Thu, 29 Jan 2009 13:43:42 +0000 (13:43 +0000)]
Bug 145058 - Inputting "^^" requires four keystrokes on Win32, differs
2009-01-29 Tor Lillqvist <tml@novell.com>
Bug 145058 - Inputting "^^" requires four keystrokes on Win32,
differs from platform default behaviour
* gtk/gtkimcontextsimple.c
(check_win32_special_case_after_compact_match): New
function. Called from check_compact_table() after a table-based
match has committed a character. In case there was two identical
dead accents in the input, another copy of the spacing accent that
was already committed is committed. This fixes #145058.
(check_win32_special_cases): New function. Called first from
gtk_im_context_simple_filter_keypress(). This fixes another
problem: a dead accent followed by a space should commit the
corresponding spacing accent. The compose tables from X commit
another character in two cases and we want to override that on
Windows.
Add GTK_NOTE (MISC) debugging output to this code.
svn path=/trunk/; revision=22253
Manoj Kumar Giri [Thu, 29 Jan 2009 10:22:08 +0000 (10:22 +0000)]
Added entry for Oriya language Translation updation
svn path=/trunk/; revision=22251
Manoj Kumar Giri [Thu, 29 Jan 2009 10:20:00 +0000 (10:20 +0000)]
Updated Oriya Translation
svn path=/trunk/; revision=22250
Claudio Saavedra [Thu, 29 Jan 2009 07:35:33 +0000 (07:35 +0000)]
Bug 569435 – make maintainer-clean removes non-generated sources
2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
Bug 569435 – make maintainer-clean removes non-generated sources
* gdk/Makefile.am: Do not remove gdkprivate.h and gdkwindowimpl.h
during make maintainer-clean, as these files are not generated.
svn path=/trunk/; revision=22248
Philip Withnall [Wed, 28 Jan 2009 20:35:35 +0000 (20:35 +0000)]
Small documentation fix.
2009-01-28 Philip Withnall <philip@tecnocode.co.uk>
* gtk/gtktreeview.c: Small documentation fix.
svn path=/trunk/; revision=22247
Kjartan Maraas [Wed, 28 Jan 2009 17:09:39 +0000 (17:09 +0000)]
Updated Norwegian bokmål translation.
2009-01-28 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=22246
Manoj Kumar Giri [Wed, 28 Jan 2009 12:35:00 +0000 (12:35 +0000)]
Updated Oriya Translation
svn path=/trunk/; revision=22245
Manoj Kumar Giri [Wed, 28 Jan 2009 12:33:40 +0000 (12:33 +0000)]
Added entry for Oriya language Translation updation
svn path=/trunk/; revision=22244
Amanpreet Singh Alam [Wed, 28 Jan 2009 02:26:26 +0000 (02:26 +0000)]
updating for Punjabi by A S Alam
svn path=/trunk/; revision=22243
Matthias Clasen [Tue, 27 Jan 2009 19:22:56 +0000 (19:22 +0000)]
Fix alignment and icons in spin buttons
svn path=/trunk/; revision=22242